<template>
	<view class="contain">
		<view class="u-tabs-box">
			<u-tabs-swiper activeColor="#4787F0" ref="tabs" :list="list" :current="current" @change="change"
				:is-scroll="false" swiperWidth="750"></u-tabs-swiper>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				current: 0,
				swiperCurrent: 0,
				list: [{
						name: '全部'
					},
					{
						name: '已签署'
					},
					{
						name: '待签署'
					},
					{
						name: '签署中',
					},
					{
						name: '已过期',
			
					}
				],
			};
		},
		methods: {
			// tab栏切换
			change(index) {
				console.log(index)
				this.swiperCurrent = index;
				this.getOrderList(index);
				this.current = index;
			},
			// 页面数据
			getOrderList(idx) {
		
			},
		},
		onReady() {

		},
	};
</script>

<style>
</style>